//
//  LoginViewController.m
//  iOSBaseFramework
//
//  Created by user on 2020/6/29.
//  Copyright © 2020 com.taylor. All rights reserved.
//

#import "LoginViewController.h"
#import "LoginView.h"
@interface LoginViewController ()

@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    LoginView *view = [[LoginView alloc] init];
    [self.view addSubview:view];
    
    [view.areaLabel setUserInteractionEnabled:YES];
    [view.areaLabel addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapArea:)]];
    
    [view.forgotSecertBtn addTarget:self action:@selector(forgotPassword:) forControlEvents:UIControlEventTouchUpInside];
    [view.registerBtn addTarget:self action:@selector(registerAccount:) forControlEvents:UIControlEventTouchUpInside];
    
}




- (void)tapArea:(UIGestureRecognizer *)gestureRecognizer {
    NSLog(@"tapArea 点击区域");
}

- (void)forgotPassword:(NSDictionary *)actions {
    NSLog(@"forgotPassword 忘记密码");
}

- (void)registerAccount:(NSDictionary *)actions {
    NSLog(@"registerAccount 注册账号");
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
